Critter Simulation
As the simulation runs, critters may collide by moving onto the same location. When two critters collide, they fight to the death. The winning animal survives and the losing animal is removed from the simulation.
he following table summarizes the possible fighting choices each animal can make and which animal will win in each case.
To help you remember which beats which, notice that the starting letters and win/loss ratings of “roar, pounce, scratch” correspond to those of “rock, paper, scissors.” If the critters make the same choice, the winner is chosen at random.
Technologies:
- - Java
- - MVC architecture
- - JavaFX GUI
- - JPanel
- - Object oriented programming
- - Git
- - VS Code